package com.coin.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.coin.domain.AdminAddress;

/**
 * @Auther: 李 力
 * @Date: 2025/6/12
 * @Description: com.coin.service
 * @version: 1.0
 */
public interface AdminAddressService extends IService<AdminAddress> {

    /**
     * @Description: 查询归集地址
     * @Author: 李 力
     * @Date: 2025/6/12
     * @Param:
     * @return: R
     */
    Page<AdminAddress> findByPage(Page<AdminAddress> page, Long coinId);

    /**
     * @Description: 归集地址的新增
     * @Author: 李 力
     * @Date: 2025/6/12
     * @Param:
     * @return: R
     */
    boolean saveAdminAddress(AdminAddress adminAddress);

    /**
     * @Description: 归集地址的修改
     * @Author: 李 力
     * @Date: 2025/6/12
     * @Param:
     * @return: R
     */
    boolean updateAdminAddress(AdminAddress adminAddress);
}
